{% extends "base.html" %}


{% block body %}

<div class="container">
  <div class="row">
    <div class="col-md-12" style="margin-top: 20px" >
      <form style="padding-top: 100px;" method="POST" action="{{ url_for('index') }}" role="form" class="form-horizontal" enctype="multipart/form-data">
        <div class="form-group  ">
          <label for="user_name" class="col-md-4 control-label"><label for="user_name">用户姓名：</label></label>
          <div class='col-md-6'>
            <input size=55 id="user_name" name="user_name" value="" required/>
          </div>
        </div>

        <div class="form-group  ">
          <label for="user_image" class="col-md-4 control-label">
            <label for="user_image">请选择注册图片(jpg或png格式)： </label>
          </label>
          <div class='col-md-6'>
            <input class="input-file" id="user_image" name="user_image" type="file" required/>
          </div>
        </div>

        <div class="form-group">
          <div class="col-md-offset-4 col-md-10">
            <input type="submit" value="注册" class="btn btn-primary" role="button" />
          </div>
        </div>
      </form>
    </div>
  </div>
</div>
</div>

{% endblock %}
